package top.pengdong.pictureShare.userAuth.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import top.pengdong.pictureShare.common.model.PageUtils;
import top.pengdong.pictureShare.common.model.Query;
import top.pengdong.pictureShare.userAuth.dao.TRoleDao;
import top.pengdong.pictureShare.userAuth.entity.TRoleEntity;
import top.pengdong.pictureShare.userAuth.service.TRoleService;


@Service("tRoleService")
public class TRoleServiceImpl extends ServiceImpl<TRoleDao, TRoleEntity> implements TRoleService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TRoleEntity> page = this.page(
                new Query<TRoleEntity>().getPage(params),
                new QueryWrapper<TRoleEntity>()
        );

        return new PageUtils(page);
    }

}